kaf24@localhost.localdomain [Sat, 19 Aug 2006 11:06:36 +0000 (12:06 +0100)]
[HVM] Fix SMBIOS entry point copy destination.
Spotted by Xiaowei Yang <xiaowei.yang@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@localhost.localdomain [Sat, 19 Aug 2006 10:39:04 +0000 (11:39 +0100)]
[NET] front: Fix receive path for auto-translated guests, so that
driver balloon allowance is properly accounted.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@localhost.localdomain [Sat, 19 Aug 2006 10:13:17 +0000 (11:13 +0100)]
[XEN] Make some implicit header includes explicit.
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
kaf24@localhost.localdomain [Sat, 19 Aug 2006 10:08:40 +0000 (11:08 +0100)]
[NET] front: Fix tx buffer leak in teardown path. Fix rx-buffer
cleanup: cannot free skbuffs until their memory is remapped by
multicall.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@localhost.localdomain [Sat, 19 Aug 2006 09:58:07 +0000 (10:58 +0100)]
[NET] front: Fix rx buffer leak when tearing down an interface.
Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
kaf24@localhost.localdomain [Sat, 19 Aug 2006 09:21:02 +0000 (10:21 +0100)]
[XENBUS] Cleanup correctly on suspend, unregister watches.
Again needed for domU kexec, so the next kernel instance can register
watches without running into -EBUSY.
Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
kaf24@localhost.localdomain [Sat, 19 Aug 2006 09:20:08 +0000 (10:20 +0100)]
[NET/BLK] back: Change the netback and blkback device drivers to allow
and handle frontend state transition from "Closing" to "Initialising".
Instead of destroying the backend device then they wait for a
reconnect from the frontend. Needed for domU kexec support, to hand over
devices from one kernel instance to the next.
Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
kaf24@localhost.localdomain [Sat, 19 Aug 2006 09:17:48 +0000 (10:17 +0100)]
[BALLOON] Make /proc/xen/ballon contain driver_pages (aka "driver headroom") unconditionally.
Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
kaf24@localhost.localdomain [Sat, 19 Aug 2006 09:15:01 +0000 (10:15 +0100)]
[XENBUS] A few cleanups.
* move function prototypes to the top of the file.
* uses the "struct bus_type" function pointers instead
of overwriting the "struct device_driver" ones for
xenbus_dev_probe() and xenbus_dev_remove().
Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
kfraser@localhost.localdomain [Fri, 18 Aug 2006 16:59:26 +0000 (17:59 +0100)]
[XEN] Remove shadow2 dependencies from common code.
Disable debugtrace functionality even in debug builds:
it's currently only used by shadow2 maintainers.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Fri, 18 Aug 2006 15:20:45 +0000 (16:20 +0100)]
[HVM] Fix the APM BIOS to ensure that interrupts are enabled when it
executes an idling HLT. This allow us to re-enable the 'shutdown on
HLT-with-interrupts-disabled' heuristic.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Fri, 18 Aug 2006 14:24:10 +0000 (15:24 +0100)]
[XEN] Work around a Linux PAE issue where it sometimes sets
the top half of a PTE without first clearing the bottom half
(to make the PTE not-present) hence the PTE fails validation
checks.
Also remove dead revalidation function after shadow2 checkin.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Fri, 18 Aug 2006 14:22:54 +0000 (15:22 +0100)]
Fix Xen Rules.mk eval order so that debug=y always sets verbose=y.
Signed-off-by: Keir Fraser <keir@xensource.com>
Christian Limpach [Thu, 17 Aug 2006 19:31:47 +0000 (20:31 +0100)]
[qemu patches] Update patches for changeset 11186:
078bfd250677.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Christian Limpach [Thu, 17 Aug 2006 19:31:13 +0000 (20:31 +0100)]
[qemu] Support HVM guests with more than 3.75G memory.
Changes are:
1) M2P table and e820 table are changed to skip address space from
HVM_RAM_LIMIT_BELOW_4G to 4G.
2) shared io page location, when less than HVM_RAM_LIMIT_BELOW_4G
memory, it's the last page of RAM as today, or it's the last page of
HVM_RAM_LIMIT_BELOW_4G RAM.
3) in qemu-dm address space from HVM_RAM_LIMIT_BELOW_4G to 4G are
stuffed with mfns starting from 4G, so the 1:1 mapping can still works.
This is ugly, but another limit check patch as changeset 10757 will
prevent qemu-dm to access this range. This ugly stuffing will be
removed when the patch to remove 1:1 mapping from qemu-dm gets accepted
in the future.
Signed-off-by: Xin Li <xin.b.li@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Steven Hand [Thu, 17 Aug 2006 19:30:05 +0000 (20:30 +0100)]
Fix live migration w/ shadow2.
Signed-off-by: Steven Hand <steven@xensource.com>
kfraser@localhost.localdomain [Thu, 17 Aug 2006 18:24:20 +0000 (19:24 +0100)]
[SVM] Fix 64-bit VMRUN.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 17 Aug 2006 18:17:50 +0000 (19:17 +0100)]
[XEN] Indentation cleanups (remove hard tabs).
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 17 Aug 2006 18:17:30 +0000 (19:17 +0100)]
Missing file from unmodified_drivers directory.
kfraser@localhost.localdomain [Thu, 17 Aug 2006 18:16:01 +0000 (19:16 +0100)]
[XEN] Fix page-fault handler to fall back to shadow-mode fault path if
writable pagetable logic fails to fix up a fault.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 17 Aug 2006 18:11:14 +0000 (19:11 +0100)]
[NET] front: Improve correctness when there is no connection to backend driver.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 17 Aug 2006 17:45:59 +0000 (18:45 +0100)]
[NET] front: Allow driver to be built for an HVM guest.
Signed-off-by: Keir Fraser <keir@xensource.com>
tdeegan@york.uk.xensource.com [Thu, 17 Aug 2006 17:39:10 +0000 (18:39 +0100)]
Fix 64bit shadow tracking
(The mask used to check for available shadows was off by 1 bit)
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Thu, 17 Aug 2006 16:10:13 +0000 (17:10 +0100)]
Add a small readme file explaining how to build PV-on-HVM drivers.
Signed-off-by: Steven Smith <ssmith@xensource.com>
kfraser@localhost.localdomain [Thu, 17 Aug 2006 16:09:21 +0000 (17:09 +0100)]
Update hgignore list for PV-on-HVM drivers.
Signed-off-by: Steven Smith <ssmith@xensource.com>
kfraser@localhost.localdomain [Thu, 17 Aug 2006 16:08:19 +0000 (17:08 +0100)]
[NET] front: Allow driver to be built against kernels which do not
have extended checksum-offload info fields in teh skbuff structure.
Based on a patch from Steven Smith <ssmith@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 17 Aug 2006 15:57:43 +0000 (16:57 +0100)]
[NET] front: Make netfront compile against kernels without the GSO patch.
Signed-off-by: Steven Smith <ssmith@xensource.com>
kfraser@localhost.localdomain [Thu, 17 Aug 2006 15:57:16 +0000 (16:57 +0100)]
[LINUX] Fix return value of gnttab_resume().
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 17 Aug 2006 15:33:42 +0000 (16:33 +0100)]
[HVM] Allow blkfront driver to be built for an HVM guest.
Signed-off-by: Steven Smith <ssmith@xensource.com>
kfraser@localhost.localdomain [Thu, 17 Aug 2006 15:32:30 +0000 (16:32 +0100)]
[HVM] Allow xenbus to run in an HVM guest.
Signed-off-by: Steven Smith <ssmith@xensource.com>
kfraser@localhost.localdomain [Thu, 17 Aug 2006 15:29:21 +0000 (16:29 +0100)]
merge
kfraser@localhost.localdomain [Thu, 17 Aug 2006 15:28:47 +0000 (16:28 +0100)]
[LINUX] Allow xenbus to be built as a module.
Signed-off-by: Steven Smith <ssmith@xensource.com>
tdeegan@york.uk.xensource.com [Thu, 17 Aug 2006 15:26:34 +0000 (16:26 +0100)]
Merge
kfraser@localhost.localdomain [Thu, 17 Aug 2006 15:22:08 +0000 (16:22 +0100)]
[HVM] Avoid accessing start_info from xenbus as far as possible, since
HVM domains do things slightly differently.
Signed-off-by: Steven Smith <ssmith@xensource.com>
kfraser@localhost.localdomain [Thu, 17 Aug 2006 15:21:08 +0000 (16:21 +0100)]
[HVM] Make grant tables functions work in PV-on-HVM drivers.
Signed-off-by: Steven Smith <ssmith@xensource.com>
kfraser@localhost.localdomain [Thu, 17 Aug 2006 15:08:01 +0000 (16:08 +0100)]
[HVM] Linux driver for the xen platform pseudo-PCI device.
Signed-off-by: Steven Smith <ssmith@xensource.com>
tdeegan@york.uk.xensource.com [Thu, 17 Aug 2006 15:05:51 +0000 (16:05 +0100)]
Fix handling of PS bit in 64-bit pagetables
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Thu, 17 Aug 2006 11:08:26 +0000 (12:08 +0100)]
[XEN] Fix x86/64 bug where a guest application can crash the
guest OS by setting AC flag in RFLAGS. This wasn't being
cleared on entry to the guest kernel, causing unwanted faults
because the kernel runs in ring 3 on Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
chris@kneesaa.uk.xensource.com [Thu, 17 Aug 2006 11:01:44 +0000 (12:01 +0100)]
[qemu patches] Update patches for changeset 11161:
5c1021595e3c.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
chris@kneesaa.uk.xensource.com [Thu, 17 Aug 2006 11:01:23 +0000 (12:01 +0100)]
[qemu] Add the xen platform device to the qemu PCI bus.
Useful functionality will come later.
Signed-off-by: Steven Smith <ssmith@xensource.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
ssmith@weybridge.uk.xensource.com [Thu, 17 Aug 2006 11:46:45 +0000 (12:46 +0100)]
[NET] Fix ``rx->offset: 10, size:
4294967295'' bug.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
chris@kneesaa.uk.xensource.com [Thu, 17 Aug 2006 10:34:39 +0000 (11:34 +0100)]
[qemu patches] Update patches for changeset 11158:
a774cbd38187.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
chris@kneesaa.uk.xensource.com [Thu, 17 Aug 2006 10:34:13 +0000 (11:34 +0100)]
[qemu] Default monitor/serial ports to /dev/null if -nographic.
qemu-dm runs daemonized and the default for -nographic is to redirect
the monitor and serial ports to stdio which causes qemu-dm to busy
read from stdin. Change the default for -nographic to redirect the
monitor and serial ports to /dev/null.
Based on a patch from: Steven Smith <sos22-xen@srcf.ucam.org>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
kfraser@localhost.localdomain [Thu, 17 Aug 2006 10:32:39 +0000 (11:32 +0100)]
[NET] back: Initialise first fragment properly
The first fragment is used to store the pending_idx of the leading
txreq if it doesn't fit in the head area. When it does fit into
the head we need to ensure that the first fragment contains a value
that is not equal to pending_idx as that's what we use to distinguish
between the two cases in a a number of places.
This patch sets the first fragment to ~0 which is not equal to any
valid pending_idx. Without this initialisation, we may double-free
a pending_idx if the first fragment happened to contain a value
equal to it (this usually happened with pending_idx 0).
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
kfraser@localhost.localdomain [Wed, 16 Aug 2006 17:20:03 +0000 (18:20 +0100)]
[XEN] vga code cleanups and additions for other architectures.
Based on patches from Hollis Blanchard and Alex Williamson.
Signed-off-by: Keir Fraser <keir@xensource.com>
tdeegan@york.uk.xensource.com [Wed, 16 Aug 2006 17:11:33 +0000 (18:11 +0100)]
Fix broken .hgtags
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Wed, 16 Aug 2006 16:11:56 +0000 (17:11 +0100)]
merge
tdeegan@york.uk.xensource.com [Wed, 16 Aug 2006 16:05:12 +0000 (17:05 +0100)]
Temporarily disable shutdown-on-HLT code.
tdeegan@york.uk.xensource.com [Wed, 16 Aug 2006 16:02:35 +0000 (17:02 +0100)]
Replace shadow pagetable code with shadow2.
kfraser@localhost.localdomain [Wed, 16 Aug 2006 15:48:45 +0000 (16:48 +0100)]
[MINIOS] Fix the build after start_info interface changes.
Signed-off-by: Anil Madhavapeddy <anil@xensource.com>
kfraser@localhost.localdomain [Wed, 16 Aug 2006 15:16:32 +0000 (16:16 +0100)]
[LINUX] Define is_initial_xendomain() to zero for HVM drivers.
Signed-off-by: Steven Smith <ssmith@xensource.com>
kfraser@localhost.localdomain [Wed, 16 Aug 2006 15:15:46 +0000 (16:15 +0100)]
[LINUX] Update the hvm_op wrapper now that the return value of get_param is in
the parameter structure rather than the hypercall return value.
Signed-off-by: Steven Smith <ssmith@xensource.com>
kfraser@localhost.localdomain [Wed, 16 Aug 2006 15:14:03 +0000 (16:14 +0100)]
[NET] front: Fix indentation of a comment.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 16 Aug 2006 15:11:53 +0000 (16:11 +0100)]
[NET] front: Allow packets to be copied on the receive path instead of flipped.
Signed-off-by: Steven Smith <ssmith@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 16 Aug 2006 15:11:12 +0000 (16:11 +0100)]
[NET] back: Change 'copyall' xenstore node to 'request-rx-copy', which
is slightly more informative and mirrors the 'feature-rx-copy' name
which communicates the feature in the other direction (back->front).
Signed-off-by: Keir Fraser <keir@xensource.com>
emellor@leeni.uk.xensource.com [Wed, 16 Aug 2006 15:06:32 +0000 (16:06 +0100)]
Fix log rotation which was inadvertently broken by changeset 11129:
939f75570a15.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kfraser@localhost.localdomain [Wed, 16 Aug 2006 15:01:00 +0000 (16:01 +0100)]
[NET] back: Support copying packets to the frontend on receive path.
Signed-off-by: Steven Smith <ssmith@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 16 Aug 2006 13:27:30 +0000 (14:27 +0100)]
[HVM] Provide common support function for HLT emulation: hvm_hlt().
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 16 Aug 2006 13:26:59 +0000 (14:26 +0100)]
[NET] front: Fix features on resume when csum is off
When the netfront driver is resumed the features are renegotiated with
the backend. However, I forgot take into account the status of the TX
checksum setting. When TX checksum is disabled by the user, we cannot
enable SG or TSO since both require checksum offload. This patch
makes
xennet check the checksum setting before renegotiating SG or TSO.
This bug was fixed thanks to a report from Anton Burtsev.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
shand@kneesaa.uk.xensource.com [Wed, 16 Aug 2006 13:01:03 +0000 (14:01 +0100)]
Heuristic to detect windows shutdown + power down domain.
Signed-off-by: Steven Hand <steven@xensource.com>
Signed-off-by: George Dunlap <george.dunlap@xensource.com>
kfraser@localhost.localdomain [Wed, 16 Aug 2006 12:53:10 +0000 (13:53 +0100)]
Rename two xentrace tools to make it obvious that setmask and setsize are xen related.
Based on a patch from Rob Gardner <rob.gardner@hp.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
emellor@leeni.uk.xensource.com [Wed, 16 Aug 2006 11:59:30 +0000 (12:59 +0100)]
Implement xm block-configure for CD-ROMs.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kfraser@localhost.localdomain [Wed, 16 Aug 2006 10:58:48 +0000 (11:58 +0100)]
[HVM] Fix the issue that the HVM 64bit guest cannot boot with 32G memory.
It enlarges the PGT_mfn_mask to support 27bit, and also remove the
score stuff on x86-64.
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com>
kfraser@localhost.localdomain [Wed, 16 Aug 2006 10:55:26 +0000 (11:55 +0100)]
[HVM] Fix the HVM hypercall issue when paging is not enabled yet on 64bit host.
Signed-off-by: Xin Li <xin.b.li@intel.com>
kfraser@localhost.localdomain [Wed, 16 Aug 2006 10:53:37 +0000 (11:53 +0100)]
This is a small patch that makes a cross compiler successfully compile
the sources under the tools directory. This patch became necessary
after qemu-dm is updated to a newer version.
Signed-off-by: Hiroya INAKOSHI <inakoshi.hiroya@jp.fujitsu.com>
shand@kneesaa.uk.xensource.com [Wed, 16 Aug 2006 10:36:13 +0000 (11:36 +0100)]
Whitespace clean-ups.
Signed-off-by: Steven Hand <steven@xensource.com>
shand@kneesaa.uk.xensource.com [Tue, 15 Aug 2006 18:53:55 +0000 (19:53 +0100)]
Fix VT after hvm changes.
Signed-off-by: Steven Hand <steven@xensource.com>
kfraser@localhost.localdomain [Tue, 15 Aug 2006 18:04:43 +0000 (19:04 +0100)]
[XEND] xc_save/xc_restore open the libxc interface independently
of their parent. This is required now that the interface fd is
marked for close-on-exec.
Signed-off-by: Keir Fraser <keir@xensource.com>
shand@kneesaa.uk.xensource.com [Tue, 15 Aug 2006 17:20:03 +0000 (18:20 +0100)]
Various HVM clean-ups.
Signed-off-by: Steven Hand <steven@xensource.com>
emellor@leeni.uk.xensource.com [Tue, 15 Aug 2006 16:03:06 +0000 (17:03 +0100)]
Added missing decl.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kfraser@localhost.localdomain [Tue, 15 Aug 2006 15:31:14 +0000 (16:31 +0100)]
[XEN] Add tracing to slow path in setting new guest %cr3 value.
Also, allow x86/64 user cr3 value to be reset to zero.
Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
kfraser@localhost.localdomain [Tue, 15 Aug 2006 15:27:26 +0000 (16:27 +0100)]
Set close-on-exec flag on /var/log/xend.log logging file.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
kfraser@localhost.localdomain [Tue, 15 Aug 2006 15:26:39 +0000 (16:26 +0100)]
Set the close-on-exec flag on the RPC socket in tool stack.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
kfraser@localhost.localdomain [Tue, 15 Aug 2006 15:25:39 +0000 (16:25 +0100)]
Set the close-on-exec flag on the xenstore fd in libxenstore.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
kfraser@localhost.localdomain [Tue, 15 Aug 2006 15:25:04 +0000 (16:25 +0100)]
[LIBXC] Set close-on-exec on the privcmd fd in libxc.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
kfraser@localhost.localdomain [Tue, 15 Aug 2006 15:21:12 +0000 (16:21 +0100)]
[HVM] Ensure the read-only M2P table is mapped without _PAGE_GLOBAL
otherwise context switch to shadow-mode-translate guests does not
work properly (they reuse that area of virtual address space).
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Tue, 15 Aug 2006 15:17:24 +0000 (16:17 +0100)]
Move vga options to their own 'vga=' boot parameter.
Signed-off-by: Keir Fraser <keir@xensource.com>
ack@localhost.localdomain [Tue, 15 Aug 2006 15:04:12 +0000 (16:04 +0100)]
merge
kfraser@localhost.localdomain [Tue, 15 Aug 2006 14:51:47 +0000 (15:51 +0100)]
merge
kfraser@localhost.localdomain [Tue, 15 Aug 2006 14:50:36 +0000 (15:50 +0100)]
Clean up console fields in start_info structure. Add compat code for
older kernels so they can use the old start_info API.
Signed-off-by: Keir Fraser <keir@xensource.com>
ack@localhost.localdomain [Tue, 15 Aug 2006 14:49:16 +0000 (15:49 +0100)]
merge
ack@localhost.localdomain [Tue, 15 Aug 2006 14:48:31 +0000 (15:48 +0100)]
Don't copy all incoming fragmented packets.
Some drivers (ie the e1000) hand up packets with the header in
the main area and the data in a fragment. Unless there are
multiple references on any of the data, we don't need to
make a full copy of those packets.
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
chris@kneesaa.uk.xensource.com [Tue, 15 Aug 2006 12:54:09 +0000 (13:54 +0100)]
[qemu patches] Update patches for changeset 11117:
60eacb336e35.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
chris@kneesaa.uk.xensource.com [Tue, 15 Aug 2006 12:53:18 +0000 (13:53 +0100)]
[qemu/ia64] Sync ID cache only guest do DMA read.
Fix ID cache sync time. Only when guest does DMA
read, ID sync cache is needed for VTi.
From: Zhang, Xiantao <xiantao.zhang@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
kfraser@localhost.localdomain [Tue, 15 Aug 2006 10:36:10 +0000 (11:36 +0100)]
Clean up vga.c and change default font slot to zero, as other
slots are not supported by ATI video cards.
Signed-off-by: Keir Fraser <keir@xensource.com>
ack@localhost.localdomain [Tue, 15 Aug 2006 10:17:36 +0000 (11:17 +0100)]
merge
ack@localhost.localdomain [Tue, 15 Aug 2006 10:16:46 +0000 (11:16 +0100)]
merge
kfraser@localhost.localdomain [Tue, 15 Aug 2006 10:16:44 +0000 (11:16 +0100)]
Support for vga text modes bigger than 80x25.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
ack@localhost.localdomain [Tue, 15 Aug 2006 10:13:04 +0000 (11:13 +0100)]
Adjust truesize in netfront to more closely reflect real data payload
plus supervisor overheads but keeping out gross hypervisor overheads.
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
kfraser@localhost.localdomain [Tue, 15 Aug 2006 09:56:59 +0000 (10:56 +0100)]
[XEND] Apply the domain cpumask fully to every vcpu in the domain.
Apply the domain cpumask to each vcpu rather than mapping vcpus to
cpus in the list. This is more inline with the comments for the
cpus parameter and also allows the credit scheduler to balance
vcpus within the domain cpumask.
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
kfraser@localhost.localdomain [Tue, 15 Aug 2006 09:47:26 +0000 (10:47 +0100)]
Remove another external-to-libxc user of xc_dom0_op().
Signed-off-by: John Levon <john.levon@sun.com>
kfraser@localhost.localdomain [Tue, 15 Aug 2006 09:45:05 +0000 (10:45 +0100)]
[VMX] Fix vmxassist for booting Vista.
This patch fixes 2 vmxassist bugs to boot Vista:
1) When switching from VM86_REAL_TO_PROTECTED to VM86_PROTECTED,
protected_mode() sets return eip to switch_to_protected_mode and
segments to vmxassist's. But in later set_mode(), it still consides
these segments are guest's (Bios at this time) and use its gdt table
to calculate address(), which results in segment limitation fault. 2) In
current vmxassist, when entering VM86_PROTECTED_TO_REAL, we need to
decode every instruction manually until we catch instructions like
jmpl to reset cs to really return to real mode. Vista boot manager uses
more instructions.
Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com>
kfraser@localhost.localdomain [Tue, 15 Aug 2006 09:43:43 +0000 (10:43 +0100)]
[VMX] Fix VMX ap boot.
Signed-off-by: Xin Li <xin.b.li@intel.com>
kfraser@localhost.localdomain [Tue, 15 Aug 2006 09:38:59 +0000 (10:38 +0100)]
[POWERPC] Update .hgignore
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
kfraser@localhost.localdomain [Tue, 15 Aug 2006 09:30:19 +0000 (10:30 +0100)]
Merge with xenppc-unstable-merge.hg
Ian.Campbell@xensource.com [Tue, 15 Aug 2006 09:06:13 +0000 (10:06 +0100)]
Add a series file to order the patches in patches/linux-<version>
The initial ordering is the same as produced by the previous shell
globbing method.
The series file is a simple list of patch files relative to the
patches/linux-<version>/ directory. We do not support comments,
trailing directives (e.g. "-pN") or blank lines. Apart from these
restrictions the series file should be compatible with patch queue
management tools such as quilt.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
Hollis Blanchard [Mon, 14 Aug 2006 20:22:22 +0000 (15:22 -0500)]
[POWERPC] Support console=comX option for Xen console.
Let Xen/PPC support the console=comX option that Xen/x86 uses, so one
need simply supply CMDLINE="console=com2" on the make invocation to get
proper use of the physical serial port on a JS21.
We do this by pruning all serial devices from the device tree, and then
initializing both com1 and com2 (like arch/x86/setup.c does).
Note that `setenv direct-serial? true; nvupdate' should in theory help
with this, but it does not work at present, and will only be supported
in some future version of SLOF. Regardless, it is useful to support the
console=comX option, since there will always be environments where it is
difficult to get access to the firmware console.
Tested on JS20 and JS21 blades.
Signed-off-by: Amos Waterland <apw@us.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
kfraser@localhost.localdomain [Mon, 14 Aug 2006 17:38:28 +0000 (18:38 +0100)]
[IA64] Fix IA64 build.
This patch gets ia64 building again on xen-unstable.hg due to the
addition of the uint64_t type in public/arch-ia64.h. I also cleaned
up directly including this file versus public/xen.h as ia64 seems to be
the only arch using it directly.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
kfraser@localhost.localdomain [Mon, 14 Aug 2006 16:57:37 +0000 (17:57 +0100)]
[HVM] Fix roms.h to depend on acpi data.
Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com>
kfraser@localhost.localdomain [Mon, 14 Aug 2006 16:56:59 +0000 (17:56 +0100)]
[VMXASSIST] Fix linker script to define start/end section labels
in the usual idiomatic way. This avoids some BSS symbols being
defined oustide of range _sbss/_ebss.
Issue raised by Xiaowei Yang from Intel.
Signed-off-by: Keir Fraser <keir@xensource.com>